<!doctype html>

<html>
<head>
<script type="text/javascript" src='options.js'></script>
</head>
<body>
<h2>Options for the Ctrl-Access extension</h2>
Trigger key:
<select id="trigger">
  <option value="17">Control</option>
  <option value="18">Alt</option>
  <option value="16">Shift</option>
  <option value="27">Escape</option>
  <option value="113">F2</option>
  <option value="115">F4</option>
  <option value="118">F7</option>
  <option value="119">F8</option>
  <option value="120">F9</option>
  <option value="121">F10</option>
</select></br>
Trigger key to open link in new tab:
<select id="trigger_newtab">
  <option value="-1">None</option>
  <option value="17">Control</option>
  <option value="18" selected="selected">Alt</option>
  <option value="16">Shift</option>
  <option value="27">Escape</option>
  <option value="113">F2</option>
  <option value="115">F4</option>
  <option value="118">F7</option>
  <option value="119">F8</option>
  <option value="120">F9</option>
  <option value="121">F10</option>
</select>
only active after normal trigger
<input id="newtab_only_when_triggered" type="checkbox"></input>
</br>
Shortcut keys:
<input id="shortcut_keys" type="text" size=80></input>
<button id="reset_to_default">Reset to default</button><br/>
Allow multi-character shortcuts:
    <input id="multi_char" type="checkbox"><br/>
<hr>
Hardcoded shortcuts (advanced):<br/>
A JS array of
 { url: &lt;regexp&gt;, id: &lt;DOM id&gt;, name: &lt;DOM name&gt;,
text: &lt;text-content&gt;, shortcut: &lt;"shortcut-string"&gt; }.<br/>
 The <code>id</code>, <code>name</code> and
<code>text</code> fields are mutually exclusive. If the <code>shortcut</code> is
the empty string, then the matched element will not have any popup.</br>
The provided string in the text-area will be <code>eval</code>ed inside the
page.</br>
<textarea id="hardcoded" type="textarea" cols="80" rows="25">
</textarea><br/>
<button id='save_hardcoded'>Apply Shortcuts</button>

</body>
</html>
